package com.example.jpademo.ref.generate.enums;

public enum AuthInsertSQL {
    AUTH_MAIN("INSERT INTO `auth_manager_refer`(`code`, `name`, `fullname`, `id`, `pubts`, `suggest_join_type`, `domain`, `name_resid`, `bind_service_code`, `disable`) VALUES ('%s', '%s', '%s', %s, now(), 'IN', @id27, NULL, NULL, 0)"),
    AUTH_SUB("INSERT INTO `auth_manager_refer_item`(`code`, `name`, `fullname`, `field_name`, `manager_refer_id`, `id`, `pubts`, `ref_code`, `iContainsSub`, `tree_build_type`, `table_scan_type`, `domain`, `filter`, `name_resid`, `item_entity_display_field`, `item_entity_code_field`, `trans_flag`) VALUES ('%s', '%s', '%s', 'id', @id27, @id28, now(), '%s', 0, NULL, 'INCREMENT', '%s', NULL, NULL, 'name', NULL, 0);");

    private final String sql;
    AuthInsertSQL(String sql) {
        this.sql = sql;
    }

    public String getSql() {
        return sql;
    }
}
